import request from '@/utils/request'

// 查询优化策略模型配置列表
export function listStrategyconfigure(query) {
  return request({
    url: '/decision/strategyconfigure/list',
    method: 'get',
    params: query
  })
}

// 查询优化策略模型配置详细
export function getStrategyconfigure(id) {
  return request({
    url: '/decision/strategyconfigure/' + id,
    method: 'get'
  })
}

// 新增优化策略模型配置
export function addStrategyconfigure(data) {
  return request({
    url: '/decision/strategyconfigure',
    method: 'post',
    data: data
  })
}

// 修改优化策略模型配置
export function updateStrategyconfigure(data) {
  return request({
    url: '/decision/strategyconfigure',
    method: 'put',
    data: data
  })
}

// 删除优化策略模型配置
export function delStrategyconfigure(id) {
  return request({
    url: '/decision/strategyconfigure/' + id,
    method: 'delete'
  })
}
